﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="InserirProductOwner.aspx.cs" Inherits="CursoUNICEUB.InserirProductOwner" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 79px;
        }
        .style2
        {
            width: 396px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        cadastro de product owner
    </h1>
    <table style="width:100%;">
            <tr>
                <td class="style1">
        <asp:Label ID="Nome" runat="server" Text="Nome:"></asp:Label>
                </td>
                <td class="style2">
        <asp:TextBox ID="txtNome" runat="server" style="margin-top: 4px" Width="368px"></asp:TextBox>
        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ErrorMessage="Nome" ForeColor="Red" ValidationGroup="cadastro" 
                        ControlToValidate="txtNome">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
        <asp:Label ID="Label1" runat="server" Text="Email:"></asp:Label>
                </td>
                <td class="style2">
        <asp:TextBox ID="txtEmail" runat="server" Width="369px"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
            ErrorMessage="Email" ForeColor="Red" ValidationGroup="cadastro" 
                        ControlToValidate="txtEmail" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="Email" ForeColor="Red" 
                        ValidationGroup="cadastro">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            </table>
    <p>
        <asp:Button ID="Button1" runat="server" Text="Enviar" 
            ValidationGroup="cadastro" />
    </p>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
        HeaderText="Favor verificar os seguintes campos:" 
        ValidationGroup="cadastro" ShowMessageBox="True" ShowSummary="False" />
</asp:Content>
